import request from '/@/utils/request';

//设置全局日期接口
export function setDataTimeEntity(params?: any) {
    return request({
        url: '/api/common/redisX/setDataTime',
        method: 'get',
        params
    })
}

//获取全局日期接口
export function getDataTimeEntity(key?: string) {
    return request({
        url: '/api/common/redisX/getRedisByKey?key='+key,
        method: 'get',
    })
}